﻿namespace Digitalmes.Domain.Entities.Mes;

/// <summary>
/// 设备点检保养项目
/// </summary>
[SugarTable("equip_subject")]
public sealed class EquipSubject : AuditedEntity
{
    /// <summary>
    /// 项目编号
    /// </summary>
    [NotNull]
    public string? Code { get; set; }

    /// <summary>
    /// 项目名称
    /// </summary>
    [NotNull]
    public string? Name { get; set; }

    /// <summary>
    /// 项目类型（设备点检；设备保养）
    /// </summary>
    public int Type { get; set; }

    /// <summary>
    /// 项目内容
    /// </summary>
    [NotNull]
    public string? Content { get; set; }

    /// <summary>
    /// 标准
    /// </summary>
    public string? Standard { get; set; }

    /// <summary>
    /// 备注
    /// </summary>
    public string? Remark { get; set; }

    /// <summary>
    /// 启用状态（0->停用，1->启用）
    /// </summary>
    public EnabledStatusEnum Status { get; set; }
}
